package com.sunwayworld.basemodule.business.folder.service;

import com.sunwayworld.basemodule.business.folder.bean.LimsPreOrderTaskBean;
import com.sunwayworld.framework.data.page.Page;
import com.sunwayworld.framework.database.sql.Order;
import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import com.sunwayworld.framework.mybatis.mapper.SearchFilter;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.service.GenericService;
import com.sunwayworld.framework.support.choosable.service.GenericChoosableService;

import java.util.List;

public interface LimsPreOrderTaskService extends GenericService<LimsPreOrderTaskBean, Long>, GenericChoosableService<LimsPreOrderTaskBean, Long> {

    Page<LimsPreOrderTaskBean> selectBySamplePreTasks(RestJsonWrapperBean wrapperBean);

    List<LimsPreOrderTaskBean> selectBySamplePreTasks(SearchFilter filter, Order... orders);

    List<LimsPreOrderTaskBean> selectBySamplePreTasks(MapperParameter parameter);
}
